/*-- -------------------------- -->
<---       Meet The Team        -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
    #meet-team-860 {
        padding: var(--sectionPadding);
        overflow: hidden;
        padding: 7rem;
    }
    #meet-team-860 .cs-container {
        width: 100%;
        /* changes to 1280px at desktop */
        max-width: 34.375rem;
        margin: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        /* 48px - 64px */
        gap: clamp(3rem, 6vw, 4rem);
    }
    #meet-team-860 .cs-content {
        /* set text align to left if content needs to be left aligned */
        text-align: center;
        width: 100%;
        max-width: 33.875rem;
        display: flex;
        flex-direction: column;
        /* centers content horizontally, set to flex-start to left align */
        align-items: center;
    }
    #meet-team-860 .cs-topper {
        font-size: var(--topperFontSize);
        line-height: 1.2em;
        text-transform: uppercase;
        text-align: inherit;
        letter-spacing: 0.1em;
        font-weight: 700;
        color: var(--primary);
        margin-bottom: 0.25rem;
        display: block;
    }
    #meet-team-860 .cs-title {
        font-size: var(--headerFontSize);
        font-weight: 900;
        line-height: 1.2em;
        text-align: inherit;
        max-width: 43.75rem;
        margin: 0 0 1rem 0;
        color: var(--headerColor);
        position: relative;
    }
    #meet-team-860 .cs-title {
        max-width: 20ch;
    }
    #meet-team-860 .cs-button-solid {
        font-size: 1rem;
        /* 46px - 56px */
        line-height: clamp(2.875rem, 5.5vw, 3.5rem);
        text-decoration: none;
        font-weight: 700;
        text-align: center;
        margin: 0;
        color: #fff;
        min-width: 9.375rem;
        padding: 0 1.5rem;
        background-color: var(--primary);
        border-radius: 0.25rem;
        display: inline-block;
        position: relative;
        z-index: 1;
        /* prevents padding from adding to the width */
        box-sizing: border-box;
    }
    #meet-team-860 .cs-button-solid:before {
        content: "";
        position: absolute;
        height: 100%;
        width: 0%;
        background: #000;
        opacity: 1;
        top: 0;
        left: 0;
        z-index: -1;
        border-radius: 0.25rem;
        transition: width 0.3s;
    }
    #meet-team-860 .cs-button-solid:hover:before {
        width: 100%;
    }
    #meet-team-860 .cs-button-solid {
        /* prevents flexbox from squishing it */
        flex: none;
    }
    #meet-team-860 .cs-card-group {
        width: 100%;
        max-width: 39.375rem;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        /* 16px - 20px */
        gap: clamp(1rem, 2.3vw, 1.25rem);
        position: relative;
    }
    #meet-team-860 .cs-item {
        list-style: none;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
        position: relative;
    }
    #meet-team-860 .cs-item:hover .cs-picture:before,
    #meet-team-860 .cs-item:hover .cs-picture:after {
        opacity: 1;
    }
    #meet-team-860 .cs-item:hover .cs-picture img {
        transform: scale(1.1);
    }
    #meet-team-860 .cs-item:hover .cs-info {
        background-color: var(--primary);
    }
    #meet-team-860 .cs-item:hover .cs-name,
    #meet-team-860 .cs-item:hover .cs-job {
        color: var(--bodyTextColorWhite);
    }
    #meet-team-860 .cs-picture {
        width: 100%;
        height: auto;
        margin: 0 0 0.5rem 0;
        /* removed at tablet */
        aspect-ratio: 328/407;
        border-radius: 1rem;
        /* clips the img corners */
        /* clips img tag from overflowing it on hover */
        overflow: hidden;
        display: block;
        position: relative;
        z-index: 1;
    }
    #meet-team-860 .cs-picture img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* makes sure the top of the image is at the top of the parent, heads won't get cut off this way */
        object-position: top;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
        transition: transform 0.7s;
    }
    #meet-team-860 .cs-info {
        width: 100%;
        padding: 1rem;
        /* prevents padding and border from affecting height and width */
        box-sizing: border-box;
        background-color: #f7f7f7;
        border-radius: 0.75rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        transition: background-color 0.3s;
    }
    #meet-team-860 .cs-name {
        font-size: 1.25rem;
        line-height: 1.2em;
        font-weight: 700;
        margin: 0 0 0.25rem 0;
        color: var(--headerColor);
        display: block;
        transition: color 0.3s;
    }
    #meet-team-860 .cs-job {
        /* 14px - 16px */
        font-size: clamp(0.875rem, 1.5vw, 1rem);
        line-height: 1.5em;
        margin-right: 0;
        color: var(--bodyTextColor);
        display: block;
        transition: color 0.3s;
    }
}
/* Tablet - 600px */
@media only screen and (min-width: 37.5rem) {
    #meet-team-860 .cs-card-group {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: stretch;
    }
    #meet-team-860 .cs-item {
        width: 100%;
    }
    #meet-team-860 .cs-picture {
        height: 30.4375rem;
        /* remove the aspect ratio so the height can be squished */
        aspect-ratio: initial;
    }
}
/* Small Desktop - 1024px */
@media only screen and (min-width: 56.25rem) {
    #meet-team-860 .cs-container {
        max-width: 80rem;
        flex-direction: row;
        justify-content: space-between;
    }
    #meet-team-860 .cs-content {
        text-align: left;
        width: 55%;
        flex-direction: column;
        align-items: flex-start;
    }
    #meet-team-860 .cs-card-group {
        justify-content: center;
        flex-wrap: nowrap;
    }
    #meet-team-860 .cs-item {
        width: 100%;
    }

    
}

/*-- -------------------------- -->
<---       Side By Side         -->
<--- -------------------------- -*/

/* Mobile */
@media only screen and (min-width: 0rem) {
  #sbs-2362 {
    padding: var(--sectionPadding);
    position: relative;
    z-index: 1;
    padding-top: 8rem;
    
  }
  #sbs-2362 .cs-container {
    width: 100%;
    max-width: 112.5rem;
    margin: auto;
    /* 16px - 80px */
    padding: clamp(1rem, 4.5vw, 5rem);
    box-sizing: border-box;
    background-color: #F1EEEC;
    display: flex;
    flex-direction: column;
  }
  #sbs-2362 .cs-wrapper {
    /* changes at tablet */
    width: 100%;
    max-width: 55.625rem;
    display: flex;
    flex-direction: column;
    /* 48px - 64px */
    gap: clamp(3rem, 8vw, 4rem);
  }
  #sbs-2362 .cs-content {
    width: 100%;
    text-align: left;
    /* 24px - 60px top & bottom */
    /* 16px - 60px left & right */
    padding: clamp(1.5rem, 7vw, 3.75rem) clamp(1rem, 7vw, 3.75rem);
    box-sizing: border-box;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  #sbs-2362 .cs-title,
  #sbs-2362 .cs-text {
    text-align: inherit;
  }
  #sbs-2362 .cs-text {
    margin-bottom: 1rem;
  }
  #sbs-2362 .cs-text:last-of-type {
    margin-bottom: 2rem;
  }
  #sbs-2362 .cs-button-solid {
    font-size: 1rem;
    text-align: center;
    /* 46px - 56px */
    line-height: clamp(2.875rem, 6vw, 3.5rem);
    font-weight: 700;
    text-decoration: none;
    padding: 0 2rem;
    color: var(--bodyTextColorWhite);
    background-color: var(--primary);
    display: inline-block;
    position: relative;
    z-index: 1;
  }
  #sbs-2362 .cs-button-solid:hover:before {
    width: 100%;
  }
  #sbs-2362 .cs-button-solid:before {
    content: '';
    width: 0%;
    height: 100%;
    background: #000;
    opacity: 1;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: width 0.3s;
  }
  #sbs-2362 .cs-color {
    color: var(--primary);
  }
  #sbs-2362 .cs-desc {
    /* 16px - 20px */
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    text-align: inherit;
    line-height: 1.5em;
    margin: 0;
    color: var(--bodyTextColor);
  }
  #sbs-2362 .cs-image-group {
    width: 100%;
    height: 90vw;
    max-height: 28.125rem;
    order: -1;
    position: relative;
    z-index: 1;
  }
  #sbs-2362 .cs-picture {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
  }
  #sbs-2362 .cs-picture img {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
  }

  #sbs-2362 .cs-icon-wrapper {
    /* 46px - 56px */
    width: clamp(2.875rem, 6vw, 3.5rem);
    height: clamp(2.875rem, 6vw, 3.5rem);
    background-color: var(--headerColor);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #sbs-2362 .cs-icon {
    width: 1rem;
    height: auto;
    display: block;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #sbs-2362 .cs-container {
    flex-direction: row;
  }
  #sbs-2362 .cs-wrapper {
    width: 57%;
    margin-left: -3.75rem;
    /* 44px - 130px */
    padding: clamp(2.75rem, 6vw, 8.125rem) 0;
    align-items: flex-end;
    flex: none;
    position: relative;
    z-index: 2;
  }
  #sbs-2362 .cs-stat-group {
    width: 80%;
  }
  #sbs-2362 .cs-image-group {
    max-width: 50.625rem;
    height: auto;
    max-height: 100%;
  }
}
                                
                                